#include <iostream>
#include <iomanip>
using namespace std;

int main(){
    // cout.precision(3);
    cout << fixed << 7.1 << endl;
    cout << fixed << 7.1236 << endl;
    cout << fixed << setprecision(3) << 7.1236 << endl;
    return 0;
}